import { PrimaryTableCol, TableRowData } from 'tdesign-vue-next';

export const COLUMNS: PrimaryTableCol<TableRowData>[] = [
  { title: '房产', colKey: 'property_name', width: 120, fixed: 'left', },
  { title: '房间', colKey: 'number_name', width: 60, fixed: 'left', },
  { title: '姓名', colKey: 'name', width: 80, fixed: 'left', },
  { title: '性别', colKey: 'sex_name', width: 60 },
  { title: '年龄', colKey: 'age', width: 60 },
  { title: '联系电话', colKey: 'phone', width: 140 },
  { title: '身份证号码', colKey: 'id_card_number', width: 180 },
  { title: '籍贯', colKey: 'native_place', width: 100 },
  { title: '工作单位', colKey: 'work_units', width: 240, ellipsis: true, },
  { title: '入住日期', colKey: 'checkin_time', width: 120, fixed: 'right', },
  { title: '退房日期', colKey: 'leave_time', width: 120, fixed: 'right', },
  { title: '操作', colKey: 'op', width: 60, align: 'left', fixed: 'right', },
];
